﻿using System;
using System.Data.Linq.Mapping;

namespace BCS.Model
{
        /// <summary>
        /// 表示摄像机数据模型
        /// </summary>
        /// <remarks>摄像机数据模型映射到数据库Camera表</remarks>
        [Table(Name = "CameraModel")]
        public class CameraModel
        {
                #region 属性

                [Column(IsPrimaryKey = true)]
                public Int32 Id { get; set; }

                [Column]
                public Int32 Brightness { get; set; }

                [Column]
                public Int32 Contrast { get; set; }

                [Column]
                public Int32 Count { get; set; }

                [Column]
                public int ForeX { get; set; }

                [Column]
                public int ForeY { get; set; }

                [Column]
                public int BackX { get; set; }

                [Column]
                public int BackY { get; set; }

                #endregion 属性
        }
}